import React, { Component } from 'react'

export default class Demo extends Component {
    deleteRow() {
        console.log(this);
    }
    deleteRow2 = () => {
        console.log(this);
    }
    render() {
        return (
            <div>
                <h3>Demo</h3>
                <button onClick={this.deleteRow2}>删除</button>
            </div>
        )
    }
}
